package com.fable.dal.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class KeywordQuery {
    /**
     * order by clause.
     */
    protected String orderByClause;

    /**
     * distinct
     */
    protected boolean distinct;

    /**
     * criteria fileRecordDOList
     */
    protected List<Criteria> oredCriteria;

    /**
     * page
     */
    protected Integer pageIndex;

    /**
     * page size
     */
    protected Integer pageSize;

    public KeywordQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public boolean isValid() {
        for (int i = 0; i < oredCriteria.size(); i++) {
            if (oredCriteria.get(i).isValid()) {
                return true;
            }
        }
        return false;
    }

    public void setPageOffset(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageOffset() {
        return pageIndex;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }
        /**

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }


                public Criteria andGmtCreateIsNull() {
                    addCriterion("gmt_create is null");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateIsNotNull() {
                    addCriterion("gmt_create is not null");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateEqualTo(Date value) {
                    addCriterion("gmt_create =", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateNotEqualTo(Date value) {
                    addCriterion("gmt_create <>", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateGreaterThan(Date value) {
                    addCriterion("gmt_create >", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
                    addCriterion("gmt_create >=", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateLessThan(Date value) {
                    addCriterion("gmt_create <", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
                    addCriterion("gmt_create <=", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateIn(List<Date> values) {
                    addCriterion("gmt_create in", values, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateNotIn(List<Date> values) {
                    addCriterion("gmt_create not in", values, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateBetween(Date value1, Date value2) {
                    addCriterion("gmt_create between", value1, value2, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
                    addCriterion("gmt_create not between", value1, value2, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedIsNull() {
                    addCriterion("gmt_modified is null");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedIsNotNull() {
                    addCriterion("gmt_modified is not null");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedEqualTo(Date value) {
                    addCriterion("gmt_modified =", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedNotEqualTo(Date value) {
                    addCriterion("gmt_modified <>", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedGreaterThan(Date value) {
                    addCriterion("gmt_modified >", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedGreaterThanOrEqualTo(Date value) {
                    addCriterion("gmt_modified >=", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedLessThan(Date value) {
                    addCriterion("gmt_modified <", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedLessThanOrEqualTo(Date value) {
                    addCriterion("gmt_modified <=", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedIn(List<Date> values) {
                    addCriterion("gmt_modified in", values, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedNotIn(List<Date> values) {
                    addCriterion("gmt_modified not in", values, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedBetween(Date value1, Date value2) {
                    addCriterion("gmt_modified between", value1, value2, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedNotBetween(Date value1, Date value2) {
                    addCriterion("gmt_modified not between", value1, value2, "gmtModified");
                    return (Criteria) this;
                }
                 **/

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(Integer value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(Integer value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAdminIdIsNull() {
            addCriterion("admin_id is null");
            return (Criteria) this;
        }

        public Criteria andAdminIdIsNotNull() {
            addCriterion("admin_id is not null");
            return (Criteria) this;
        }

        public Criteria andAdminIdEqualTo(Integer value) {
            addCriterion("admin_id =", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotEqualTo(Integer value) {
            addCriterion("admin_id <>", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdGreaterThan(Integer value) {
            addCriterion("admin_id >", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("admin_id >=", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdLessThan(Integer value) {
            addCriterion("admin_id <", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdLessThanOrEqualTo(Integer value) {
            addCriterion("admin_id <=", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdLike(Integer value) {
            addCriterion("admin_id like", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotLike(Integer value) {
            addCriterion("admin_id not like", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdIn(List<Integer> values) {
            addCriterion("admin_id in", values, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotIn(List<Integer> values) {
            addCriterion("admin_id not in", values, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdBetween(Integer value1, Integer value2) {
            addCriterion("admin_id between", value1, value2, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotBetween(Integer value1, Integer value2) {
            addCriterion("admin_id not between", value1, value2, "adminId");
            return (Criteria) this;
        }

        public Criteria andWordIsNull() {
            addCriterion("word is null");
            return (Criteria) this;
        }

        public Criteria andWordIsNotNull() {
            addCriterion("word is not null");
            return (Criteria) this;
        }

        public Criteria andWordEqualTo(String value) {
            addCriterion("word =", value, "word");
            return (Criteria) this;
        }

        public Criteria andWordNotEqualTo(String value) {
            addCriterion("word <>", value, "word");
            return (Criteria) this;
        }

        public Criteria andWordGreaterThan(String value) {
            addCriterion("word >", value, "word");
            return (Criteria) this;
        }

        public Criteria andWordGreaterThanOrEqualTo(String value) {
            addCriterion("word >=", value, "word");
            return (Criteria) this;
        }

        public Criteria andWordLessThan(String value) {
            addCriterion("word <", value, "word");
            return (Criteria) this;
        }

        public Criteria andWordLessThanOrEqualTo(String value) {
            addCriterion("word <=", value, "word");
            return (Criteria) this;
        }

        public Criteria andWordLike(String value) {
            addCriterion("word like", value, "word");
            return (Criteria) this;
        }

        public Criteria andWordNotLike(String value) {
            addCriterion("word not like", value, "word");
            return (Criteria) this;
        }

        public Criteria andWordIn(List<String> values) {
            addCriterion("word in", values, "word");
            return (Criteria) this;
        }

        public Criteria andWordNotIn(List<String> values) {
            addCriterion("word not in", values, "word");
            return (Criteria) this;
        }

        public Criteria andWordBetween(String value1, String value2) {
            addCriterion("word between", value1, value2, "word");
            return (Criteria) this;
        }

        public Criteria andWordNotBetween(String value1, String value2) {
            addCriterion("word not between", value1, value2, "word");
            return (Criteria) this;
        }

        public Criteria andDesIsNull() {
            addCriterion("des is null");
            return (Criteria) this;
        }

        public Criteria andDesIsNotNull() {
            addCriterion("des is not null");
            return (Criteria) this;
        }

        public Criteria andDesEqualTo(String value) {
            addCriterion("des =", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesNotEqualTo(String value) {
            addCriterion("des <>", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesGreaterThan(String value) {
            addCriterion("des >", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesGreaterThanOrEqualTo(String value) {
            addCriterion("des >=", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesLessThan(String value) {
            addCriterion("des <", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesLessThanOrEqualTo(String value) {
            addCriterion("des <=", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesLike(String value) {
            addCriterion("des like", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesNotLike(String value) {
            addCriterion("des not like", value, "des");
            return (Criteria) this;
        }

        public Criteria andDesIn(List<String> values) {
            addCriterion("des in", values, "des");
            return (Criteria) this;
        }

        public Criteria andDesNotIn(List<String> values) {
            addCriterion("des not in", values, "des");
            return (Criteria) this;
        }

        public Criteria andDesBetween(String value1, String value2) {
            addCriterion("des between", value1, value2, "des");
            return (Criteria) this;
        }

        public Criteria andDesNotBetween(String value1, String value2) {
            addCriterion("des not between", value1, value2, "des");
            return (Criteria) this;
        }

        public Criteria andOpenNumIsNull() {
            addCriterion("open_num is null");
            return (Criteria) this;
        }

        public Criteria andOpenNumIsNotNull() {
            addCriterion("open_num is not null");
            return (Criteria) this;
        }

        public Criteria andOpenNumEqualTo(Integer value) {
            addCriterion("open_num =", value, "openNum");
            return (Criteria) this;
        }

        public Criteria andOpenNumNotEqualTo(Integer value) {
            addCriterion("open_num <>", value, "openNum");
            return (Criteria) this;
        }

        public Criteria andOpenNumGreaterThan(Integer value) {
            addCriterion("open_num >", value, "openNum");
            return (Criteria) this;
        }

        public Criteria andOpenNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("open_num >=", value, "openNum");
            return (Criteria) this;
        }

        public Criteria andOpenNumLessThan(Integer value) {
            addCriterion("open_num <", value, "openNum");
            return (Criteria) this;
        }

        public Criteria andOpenNumLessThanOrEqualTo(Integer value) {
            addCriterion("open_num <=", value, "openNum");
            return (Criteria) this;
        }

        public Criteria andOpenNumLike(Integer value) {
            addCriterion("open_num like", value, "openNum");
            return (Criteria) this;
        }

        public Criteria andOpenNumNotLike(Integer value) {
            addCriterion("open_num not like", value, "openNum");
            return (Criteria) this;
        }

        public Criteria andOpenNumIn(List<Integer> values) {
            addCriterion("open_num in", values, "openNum");
            return (Criteria) this;
        }

        public Criteria andOpenNumNotIn(List<Integer> values) {
            addCriterion("open_num not in", values, "openNum");
            return (Criteria) this;
        }

        public Criteria andOpenNumBetween(Integer value1, Integer value2) {
            addCriterion("open_num between", value1, value2, "openNum");
            return (Criteria) this;
        }

        public Criteria andOpenNumNotBetween(Integer value1, Integer value2) {
            addCriterion("open_num not between", value1, value2, "openNum");
            return (Criteria) this;
        }

        public Criteria andClickNumIsNull() {
            addCriterion("click_num is null");
            return (Criteria) this;
        }

        public Criteria andClickNumIsNotNull() {
            addCriterion("click_num is not null");
            return (Criteria) this;
        }

        public Criteria andClickNumEqualTo(Integer value) {
            addCriterion("click_num =", value, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumNotEqualTo(Integer value) {
            addCriterion("click_num <>", value, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumGreaterThan(Integer value) {
            addCriterion("click_num >", value, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("click_num >=", value, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumLessThan(Integer value) {
            addCriterion("click_num <", value, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumLessThanOrEqualTo(Integer value) {
            addCriterion("click_num <=", value, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumLike(Integer value) {
            addCriterion("click_num like", value, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumNotLike(Integer value) {
            addCriterion("click_num not like", value, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumIn(List<Integer> values) {
            addCriterion("click_num in", values, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumNotIn(List<Integer> values) {
            addCriterion("click_num not in", values, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumBetween(Integer value1, Integer value2) {
            addCriterion("click_num between", value1, value2, "clickNum");
            return (Criteria) this;
        }

        public Criteria andClickNumNotBetween(Integer value1, Integer value2) {
            addCriterion("click_num not between", value1, value2, "clickNum");
            return (Criteria) this;
        }

        public Criteria andFeedNumIsNull() {
            addCriterion("feed_num is null");
            return (Criteria) this;
        }

        public Criteria andFeedNumIsNotNull() {
            addCriterion("feed_num is not null");
            return (Criteria) this;
        }

        public Criteria andFeedNumEqualTo(Integer value) {
            addCriterion("feed_num =", value, "feedNum");
            return (Criteria) this;
        }

        public Criteria andFeedNumNotEqualTo(Integer value) {
            addCriterion("feed_num <>", value, "feedNum");
            return (Criteria) this;
        }

        public Criteria andFeedNumGreaterThan(Integer value) {
            addCriterion("feed_num >", value, "feedNum");
            return (Criteria) this;
        }

        public Criteria andFeedNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("feed_num >=", value, "feedNum");
            return (Criteria) this;
        }

        public Criteria andFeedNumLessThan(Integer value) {
            addCriterion("feed_num <", value, "feedNum");
            return (Criteria) this;
        }

        public Criteria andFeedNumLessThanOrEqualTo(Integer value) {
            addCriterion("feed_num <=", value, "feedNum");
            return (Criteria) this;
        }

        public Criteria andFeedNumLike(Integer value) {
            addCriterion("feed_num like", value, "feedNum");
            return (Criteria) this;
        }

        public Criteria andFeedNumNotLike(Integer value) {
            addCriterion("feed_num not like", value, "feedNum");
            return (Criteria) this;
        }

        public Criteria andFeedNumIn(List<Integer> values) {
            addCriterion("feed_num in", values, "feedNum");
            return (Criteria) this;
        }

        public Criteria andFeedNumNotIn(List<Integer> values) {
            addCriterion("feed_num not in", values, "feedNum");
            return (Criteria) this;
        }

        public Criteria andFeedNumBetween(Integer value1, Integer value2) {
            addCriterion("feed_num between", value1, value2, "feedNum");
            return (Criteria) this;
        }

        public Criteria andFeedNumNotBetween(Integer value1, Integer value2) {
            addCriterion("feed_num not between", value1, value2, "feedNum");
            return (Criteria) this;
        }

        public Criteria andClickRateIsNull() {
            addCriterion("click_rate is null");
            return (Criteria) this;
        }

        public Criteria andClickRateIsNotNull() {
            addCriterion("click_rate is not null");
            return (Criteria) this;
        }

        public Criteria andClickRateEqualTo(String value) {
            addCriterion("click_rate =", value, "clickRate");
            return (Criteria) this;
        }

        public Criteria andClickRateNotEqualTo(String value) {
            addCriterion("click_rate <>", value, "clickRate");
            return (Criteria) this;
        }

        public Criteria andClickRateGreaterThan(String value) {
            addCriterion("click_rate >", value, "clickRate");
            return (Criteria) this;
        }

        public Criteria andClickRateGreaterThanOrEqualTo(String value) {
            addCriterion("click_rate >=", value, "clickRate");
            return (Criteria) this;
        }

        public Criteria andClickRateLessThan(String value) {
            addCriterion("click_rate <", value, "clickRate");
            return (Criteria) this;
        }

        public Criteria andClickRateLessThanOrEqualTo(String value) {
            addCriterion("click_rate <=", value, "clickRate");
            return (Criteria) this;
        }

        public Criteria andClickRateLike(String value) {
            addCriterion("click_rate like", value, "clickRate");
            return (Criteria) this;
        }

        public Criteria andClickRateNotLike(String value) {
            addCriterion("click_rate not like", value, "clickRate");
            return (Criteria) this;
        }

        public Criteria andClickRateIn(List<String> values) {
            addCriterion("click_rate in", values, "clickRate");
            return (Criteria) this;
        }

        public Criteria andClickRateNotIn(List<String> values) {
            addCriterion("click_rate not in", values, "clickRate");
            return (Criteria) this;
        }

        public Criteria andClickRateBetween(String value1, String value2) {
            addCriterion("click_rate between", value1, value2, "clickRate");
            return (Criteria) this;
        }

        public Criteria andClickRateNotBetween(String value1, String value2) {
            addCriterion("click_rate not between", value1, value2, "clickRate");
            return (Criteria) this;
        }

        public Criteria andFeedRateIsNull() {
            addCriterion("feed_rate is null");
            return (Criteria) this;
        }

        public Criteria andFeedRateIsNotNull() {
            addCriterion("feed_rate is not null");
            return (Criteria) this;
        }

        public Criteria andFeedRateEqualTo(String value) {
            addCriterion("feed_rate =", value, "feedRate");
            return (Criteria) this;
        }

        public Criteria andFeedRateNotEqualTo(String value) {
            addCriterion("feed_rate <>", value, "feedRate");
            return (Criteria) this;
        }

        public Criteria andFeedRateGreaterThan(String value) {
            addCriterion("feed_rate >", value, "feedRate");
            return (Criteria) this;
        }

        public Criteria andFeedRateGreaterThanOrEqualTo(String value) {
            addCriterion("feed_rate >=", value, "feedRate");
            return (Criteria) this;
        }

        public Criteria andFeedRateLessThan(String value) {
            addCriterion("feed_rate <", value, "feedRate");
            return (Criteria) this;
        }

        public Criteria andFeedRateLessThanOrEqualTo(String value) {
            addCriterion("feed_rate <=", value, "feedRate");
            return (Criteria) this;
        }

        public Criteria andFeedRateLike(String value) {
            addCriterion("feed_rate like", value, "feedRate");
            return (Criteria) this;
        }

        public Criteria andFeedRateNotLike(String value) {
            addCriterion("feed_rate not like", value, "feedRate");
            return (Criteria) this;
        }

        public Criteria andFeedRateIn(List<String> values) {
            addCriterion("feed_rate in", values, "feedRate");
            return (Criteria) this;
        }

        public Criteria andFeedRateNotIn(List<String> values) {
            addCriterion("feed_rate not in", values, "feedRate");
            return (Criteria) this;
        }

        public Criteria andFeedRateBetween(String value1, String value2) {
            addCriterion("feed_rate between", value1, value2, "feedRate");
            return (Criteria) this;
        }

        public Criteria andFeedRateNotBetween(String value1, String value2) {
            addCriterion("feed_rate not between", value1, value2, "feedRate");
            return (Criteria) this;
        }

        public Criteria andTopFiveTimeIsNull() {
            addCriterion("top_five_time is null");
            return (Criteria) this;
        }

        public Criteria andTopFiveTimeIsNotNull() {
            addCriterion("top_five_time is not null");
            return (Criteria) this;
        }

        public Criteria andTopFiveTimeEqualTo(Integer value) {
            addCriterion("top_five_time =", value, "topFiveTime");
            return (Criteria) this;
        }

        public Criteria andTopFiveTimeNotEqualTo(Integer value) {
            addCriterion("top_five_time <>", value, "topFiveTime");
            return (Criteria) this;
        }

        public Criteria andTopFiveTimeGreaterThan(Integer value) {
            addCriterion("top_five_time >", value, "topFiveTime");
            return (Criteria) this;
        }

        public Criteria andTopFiveTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("top_five_time >=", value, "topFiveTime");
            return (Criteria) this;
        }

        public Criteria andTopFiveTimeLessThan(Integer value) {
            addCriterion("top_five_time <", value, "topFiveTime");
            return (Criteria) this;
        }

        public Criteria andTopFiveTimeLessThanOrEqualTo(Integer value) {
            addCriterion("top_five_time <=", value, "topFiveTime");
            return (Criteria) this;
        }

        public Criteria andTopFiveTimeLike(Integer value) {
            addCriterion("top_five_time like", value, "topFiveTime");
            return (Criteria) this;
        }

        public Criteria andTopFiveTimeNotLike(Integer value) {
            addCriterion("top_five_time not like", value, "topFiveTime");
            return (Criteria) this;
        }

        public Criteria andTopFiveTimeIn(List<Integer> values) {
            addCriterion("top_five_time in", values, "topFiveTime");
            return (Criteria) this;
        }

        public Criteria andTopFiveTimeNotIn(List<Integer> values) {
            addCriterion("top_five_time not in", values, "topFiveTime");
            return (Criteria) this;
        }

        public Criteria andTopFiveTimeBetween(Integer value1, Integer value2) {
            addCriterion("top_five_time between", value1, value2, "topFiveTime");
            return (Criteria) this;
        }

        public Criteria andTopFiveTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("top_five_time not between", value1, value2, "topFiveTime");
            return (Criteria) this;
        }

        public Criteria andTopMostTimeIsNull() {
            addCriterion("top_most_time is null");
            return (Criteria) this;
        }

        public Criteria andTopMostTimeIsNotNull() {
            addCriterion("top_most_time is not null");
            return (Criteria) this;
        }

        public Criteria andTopMostTimeEqualTo(Integer value) {
            addCriterion("top_most_time =", value, "topMostTime");
            return (Criteria) this;
        }

        public Criteria andTopMostTimeNotEqualTo(Integer value) {
            addCriterion("top_most_time <>", value, "topMostTime");
            return (Criteria) this;
        }

        public Criteria andTopMostTimeGreaterThan(Integer value) {
            addCriterion("top_most_time >", value, "topMostTime");
            return (Criteria) this;
        }

        public Criteria andTopMostTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("top_most_time >=", value, "topMostTime");
            return (Criteria) this;
        }

        public Criteria andTopMostTimeLessThan(Integer value) {
            addCriterion("top_most_time <", value, "topMostTime");
            return (Criteria) this;
        }

        public Criteria andTopMostTimeLessThanOrEqualTo(Integer value) {
            addCriterion("top_most_time <=", value, "topMostTime");
            return (Criteria) this;
        }

        public Criteria andTopMostTimeLike(Integer value) {
            addCriterion("top_most_time like", value, "topMostTime");
            return (Criteria) this;
        }

        public Criteria andTopMostTimeNotLike(Integer value) {
            addCriterion("top_most_time not like", value, "topMostTime");
            return (Criteria) this;
        }

        public Criteria andTopMostTimeIn(List<Integer> values) {
            addCriterion("top_most_time in", values, "topMostTime");
            return (Criteria) this;
        }

        public Criteria andTopMostTimeNotIn(List<Integer> values) {
            addCriterion("top_most_time not in", values, "topMostTime");
            return (Criteria) this;
        }

        public Criteria andTopMostTimeBetween(Integer value1, Integer value2) {
            addCriterion("top_most_time between", value1, value2, "topMostTime");
            return (Criteria) this;
        }

        public Criteria andTopMostTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("top_most_time not between", value1, value2, "topMostTime");
            return (Criteria) this;
        }

        public Criteria andBestUrlIsNull() {
            addCriterion("best_url is null");
            return (Criteria) this;
        }

        public Criteria andBestUrlIsNotNull() {
            addCriterion("best_url is not null");
            return (Criteria) this;
        }

        public Criteria andBestUrlEqualTo(String value) {
            addCriterion("best_url =", value, "bestUrl");
            return (Criteria) this;
        }

        public Criteria andBestUrlNotEqualTo(String value) {
            addCriterion("best_url <>", value, "bestUrl");
            return (Criteria) this;
        }

        public Criteria andBestUrlGreaterThan(String value) {
            addCriterion("best_url >", value, "bestUrl");
            return (Criteria) this;
        }

        public Criteria andBestUrlGreaterThanOrEqualTo(String value) {
            addCriterion("best_url >=", value, "bestUrl");
            return (Criteria) this;
        }

        public Criteria andBestUrlLessThan(String value) {
            addCriterion("best_url <", value, "bestUrl");
            return (Criteria) this;
        }

        public Criteria andBestUrlLessThanOrEqualTo(String value) {
            addCriterion("best_url <=", value, "bestUrl");
            return (Criteria) this;
        }

        public Criteria andBestUrlLike(String value) {
            addCriterion("best_url like", value, "bestUrl");
            return (Criteria) this;
        }

        public Criteria andBestUrlNotLike(String value) {
            addCriterion("best_url not like", value, "bestUrl");
            return (Criteria) this;
        }

        public Criteria andBestUrlIn(List<String> values) {
            addCriterion("best_url in", values, "bestUrl");
            return (Criteria) this;
        }

        public Criteria andBestUrlNotIn(List<String> values) {
            addCriterion("best_url not in", values, "bestUrl");
            return (Criteria) this;
        }

        public Criteria andBestUrlBetween(String value1, String value2) {
            addCriterion("best_url between", value1, value2, "bestUrl");
            return (Criteria) this;
        }

        public Criteria andBestUrlNotBetween(String value1, String value2) {
            addCriterion("best_url not between", value1, value2, "bestUrl");
            return (Criteria) this;
        }

        public Criteria andMemoIsNull() {
            addCriterion("memo is null");
            return (Criteria) this;
        }

        public Criteria andMemoIsNotNull() {
            addCriterion("memo is not null");
            return (Criteria) this;
        }

        public Criteria andMemoEqualTo(String value) {
            addCriterion("memo =", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotEqualTo(String value) {
            addCriterion("memo <>", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThan(String value) {
            addCriterion("memo >", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThanOrEqualTo(String value) {
            addCriterion("memo >=", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLessThan(String value) {
            addCriterion("memo <", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLessThanOrEqualTo(String value) {
            addCriterion("memo <=", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLike(String value) {
            addCriterion("memo like", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotLike(String value) {
            addCriterion("memo not like", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoIn(List<String> values) {
            addCriterion("memo in", values, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotIn(List<String> values) {
            addCriterion("memo not in", values, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoBetween(String value1, String value2) {
            addCriterion("memo between", value1, value2, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotBetween(String value1, String value2) {
            addCriterion("memo not between", value1, value2, "memo");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(Date value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(Date value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(Date value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(Date value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLike(Date value) {
            addCriterion("gmt_create like", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotLike(Date value) {
            addCriterion("gmt_create not like", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<Date> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<Date> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(Date value1, Date value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNull() {
            addCriterion("gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNotNull() {
            addCriterion("gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedEqualTo(Date value) {
            addCriterion("gmt_modified =", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotEqualTo(Date value) {
            addCriterion("gmt_modified <>", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThan(Date value) {
            addCriterion("gmt_modified >", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_modified >=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThan(Date value) {
            addCriterion("gmt_modified <", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThanOrEqualTo(Date value) {
            addCriterion("gmt_modified <=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLike(Date value) {
            addCriterion("gmt_modified like", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotLike(Date value) {
            addCriterion("gmt_modified not like", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIn(List<Date> values) {
            addCriterion("gmt_modified in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotIn(List<Date> values) {
            addCriterion("gmt_modified not in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedBetween(Date value1, Date value2) {
            addCriterion("gmt_modified between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotBetween(Date value1, Date value2) {
            addCriterion("gmt_modified not between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

    }

    /**
     * This class corresponds to the database table keyword
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class corresponds to the database table keyword
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}